#!/usr/bin/python

from restful_lib import Connection
conn = Connection("http://localhost:8000")
response = conn.request_get("/sidewinder")

print response

conn.request_put("/sidewinder", {'color': 'blue'}, headers={'content-type':'application/json', 'accept':'application/json'})
